/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Common;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author PhiNguyen
 */
public interface Interface extends Remote{
    public Result getResult(String account,String pincode) throws  RemoteException;
    public Result getBalance(String account,String pincode) throws  RemoteException;
    public Result getChangePin(String account ,String Oldpincode,String pincode,String pincodeConfirm) throws  RemoteException;
    public Result getWithDraw(String account,int money) throws  RemoteException;
    public Result getDeposit(String account,int money) throws  RemoteException;
}
